home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1995 April / Internet Tools.iso / infoserv / www / cern / doc / www-talk.archive.Z / www-talk.archive / text0055.txt < prev    next >
Encoding:
Text File  |  1992-11-30  |  4.4 KB  |  96 lines

  1. I have glanced through your document on universal directory
  2. identifiers, and you seem to have left out Prospero.
  3.  
  4. Prospero is a little different in that it does late binding of the
  5. access method.  In particular, a Prospero link consists of two parts,
  6. a host name, and a name of the object on that host.  The latter part
  7. is usually a path name, but in reality, it can be any string,
  8. including simply a unique ID.  Thus, a Prospero link might look like
  9.  
  10. TGO.ISI.EDU /a/b/c  or   GUM.ISI.EDU 27
  11.  
  12. A Prospero link has a few other fields as well, but perhaps less
  13. important.  There is a type field for the hostname.  It indicates
  14. whether the hostname is an Internet name or address, or perhaps some
  15. other kind of name or address.  Only one type is presently supported
  16. (INTERNET-D) though, and that type includes Internet host names or
  17. addresses, with or without an optional Internet UDP port.
  18.  
  19.   examples: TGO.ISI.EDU, TGO.ISI.EDU(191), 128.9.224.123, or 128.9.224.123(191)
  20.  
  21. Only a single type is used for all four types of Internet addresses
  22. since they are not syntactically ambiguous.
  23.  
  24. The name relative to the host is also typed.  Presently, the only type
  25. supported is ASCII, but the type field is there just in case.
  26.  
  27. Three other fields are a version number, a unique ID, and a type.  The
  28. meaning of the version number should be fairly obvious.  A version
  29. number of 0 matches the most recent version.  At present, most objects
  30. don't have version numbers, but I felt it was important to include in
  31. in the link data.  The purpose of the unique ID is less obvious.  It
  32. is there to provide a mechanism for detecting when an object has been
  33. deleted and replaced with an object of the same name.  In some cases,
  34. it might be important to note that the object being retrieved is not
  35. the same as the one to which the original link was made.  I will talk
  36. about the type field later since it is not what you might think.
  37.  
  38. So, that is a Prospero link.  Note, that it does not specify the
  39. access method.  Binding to an access method is accomplished by sending
  40. a message to the Prospero server at the address in the link, and
  41. requesting the access method for the named object.  The response
  42. includes a sequence of tokens, the first identifies the access method,
  43. and the remainder identify the information specific to the access
  44. method (beyond that which already is part of the link).  If you
  45. understand the access method, then you also know how to interpret the
  46. remaining tokens.
  47.  
  48. For example, a response indicating access by anonymous FTP might be
  49.  
  50.   ANONYMOUS-FTP /pub/pfs/guest/README BINARY
  51.  
  52. Note that the host name is not specified since the hostname from the
  53. link is assumed.  If the host name were different than that in the
  54. link, then it would be specified in the response.  The path is
  55. specified, however, because the path to be passed to the FTP program
  56. is different than that in the link (in this case, the link included
  57. the prefix /homes/june/ftp.
  58.  
  59. Similar responses are supported for other methods, and a response
  60. might include more than one access method, in which case the
  61. application choose the method that best suits its needs.
  62.  
  63. Now, back to the type field.  One of the shortcomings of the approach
  64. as described so far is that it requires a Prospero server to run on
  65. the system storing the object to be referenced.  This shortcoming is
  66. addressed by the external link.  The type field in a Prospero link
  67. provides information on what can be done with the link.  The three
  68. common types are FILE, DIRECTORY, and EXTERNAL.  The links described
  69. above were of type FILE.  If a links type is directory, its contents
  70. can be listed by contacting the Prospero server (i.e. the links in the
  71. directory can be returned).  If a links type is EXTERNAL, it means
  72. that the object should be accessed without contacting a Prospero
  73. server to obtain the access method (usually because a Prospero server
  74. is not running on the target site).  Instead, the access information
  75. that would otherwise have been returned is encoded as part of the
  76. type.  Thus for example the type of an external link to the file
  77. mentioned above would be.
  78.  
  79.   EXTERNAL(AFTP,BINARY)
  80.  
  81. Note that for external links using the AFTP or FTP method, the name
  82. field of the link contains the path name to be passed to FTP.  For
  83. other access methods, the meaning of the field is defined by the
  84. particular access method to be used.
  85.  
  86. Anyway, I hope this adequate explains the form of Prospero
  87. identifiers, and I hope that you can fit it in to your proposed
  88. format. 
  89.  
  90.     ~ Cliff
  91.  
  92.  
  93.  
  94.  
  95.  
  96.